package com.lyy.yygh.hosp.service;

import com.lyy.yygh.model.hosp.Schedule;
import com.lyy.yygh.vo.hosp.ScheduleOrderVo;
import com.lyy.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveschedule(Map<String, Object> paramap);

    Page<Schedule> findPageSchedule(int page, int limit, ScheduleQueryVo scheduleQueryVo);

    void remove(String hoscode, String hosScheduleId);

    Map<String, Object> getScheduleRule(long page, long limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    Object getBookingScheduleRule(int page, int limit, String hoscode, String depcode);

    Object getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);
    //更新排班数据
    void update(Schedule schedule);

    //根据scheduleid获取排班
    Schedule getScheduleId(String scheduleId);
}
